/*
 * @Author: your name
 * @Date: 2021-05-26 15:48:48
 * @LastEditTime: 2021-05-26 15:48:57
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /vite-project/src/hooks/web/useDesign.ts
 */
import { useAppProviderContext } from '@/components/Application';

export function useDesign(scope: string) {
    const values = useAppProviderContext();
    return {
        prefixCls: `${values.prefixCls}-${scope}`,
        prefixVar: values.prefixCls,
    };
}
